package com.qtcm.nas.fyx.chakanxiangqing.service.impl;

import com.qtcm.nas.fyx.chakanxiangqing.dao.ICkxqDao;
import com.qtcm.nas.fyx.chakanxiangqing.pojo.Chuzhi_card;
import com.qtcm.nas.fyx.chakanxiangqing.pojo.Package_Details;
import com.qtcm.nas.fyx.chakanxiangqing.pojo.YearCard;
import com.qtcm.nas.fyx.chakanxiangqing.service.ICkxqService;
import com.qtcm.nas.fyx.huiyuantianjia.pojo.Car_fyx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("ckxqService")
public class CkxqService implements ICkxqService {
    @Autowired
    @Qualifier("ckxqDao")
    private ICkxqDao ckxqDao;

    @Override
    public List<Car_fyx> findCar(int hyid) {
        return ckxqDao.findCar(hyid);
    }

    @Override
    public Package_Details findLb(int hyid) {
        return ckxqDao.findLb(hyid);
    }

    @Override
    public String findnp(int hyid) {
        return ckxqDao.findnp(hyid);
    }

    @Override
    public String findphone(int hyid) {
        return ckxqDao.findphone(hyid);
    }

    @Override
    public Package_Details finddlb(int hyid) {
        return ckxqDao.finddlb(hyid);
    }


    @Override
    public int findcardid(int hyid) {
        return ckxqDao.findcardid(hyid);
    }

    @Override
    public Chuzhi_card findchuzhi(int hyid) {
        return ckxqDao.findchuzhi(hyid);
    }

    @Override
    public String finddianpu(int hyid) {
        return ckxqDao.finddianpu(hyid);
    }

    @Override
    public YearCard findnian(int hyid) {
        return ckxqDao.findnian(hyid);
    }
}
